package com.javasm.mingming.task.runnable;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Component;

/**
 * @author javasm
 * @version 0.1
 * @className TestTask
 * @descriptioin:
 * @date 2025/1/17 10:12
 * @since jdk11
 */
@Component
public class TestTask implements Runnable{

    Logger logger = LogManager.getLogger(TestTask.class);

    @Override
    public void run() {
        logger.info("定时任务,执行了");
    }
}
